# Copyright (c) 2008 Alvin Wang http://cloudwizard.com/
# License New BSD
# See README for additional information
from cloudwizard.cwobject import CWobject

class StorageService(CWobject):
    """
    Storage is disk.

    API
            Folders_list( buckets)
            folder_create
            folder_delete
            folder_rename
            files_list ( folder)
            files_upload ( folder)
            files_delete ( folder)
            file_size ( folder)

    eg] S3
    """

    def create(self, *args):
        pass
    def olist(self, *args):
        pass
    def plist(self, *args):
        pass


class StorageDevice(CWobject):
    """
    Storage is disk.

    API
            Folders_list( buckets)
            folder_create
            folder_delete
            folder_rename
            files_list ( folder)
            files_upload ( folder)
            files_delete ( folder)
            file_size ( folder)

    eg] S3
    """
    def plist(self, *args):
        print ''

